The Continuous Media File System

نویسندگان

  • David P. Anderson
  • Yoshitomo Osawa
  • Ramesh Govindan
چکیده

Handling digital audio and video data ('continuous media") in a general-purpose file system can lead.to performance problems.. File systems typically optimlze oveiall'average pgrformance, while many audio/videoapplications'need guæanteéd ùorst-case performanc--e. These guarantees cannot be provided Uy fast hardwarellone; we must also consider the interrelated software issues of file layout on disk, disk scheduling, buffer space managemenr, and admission control, The Continuous Media File System (ôUrS¡ ii a prototipe filó system that addresses these issues, Introduction sessions) and disk scheduling. CMFS does not Support for digital audio/video (continuous igqt::: lighlevel issues such-as.security, naming media, ôi cu¡ has eñerged as an imporì'anü;;tr; ::d,,T3"Itlg, or_document shucturing; these are lefl computer sysiem desigi. cM ".p.uiiitLr -*¡i [,lltg.h:l levels [9, 10]. CMFS simply provides the greaily expand the role õf computer .yrte., and will i:tl1ry to source or sink byte sheams to/q9t storage énricti theuser interfaces of'existing uppti"uiionr. at-guar-anteed rates' CMFS is influence_d by severãl Mr¡_ch effort is being directed to*.0-,,iiie!i.ii";;; lt:;"::": CM file systems [1, 5, 8, 1U. However, CM, that is, handlin! CM data in the same fr"aøwire CMFS is more general than these,systems: it supand softwa¡e fra¡ñework as other ¿"tu.---if,ì. Ports. read and write sessions, variable-rate files, and apploach provides advantages in nexiUifity á"¿ Àr"l m_ultiple_sessions with^^different -rates. .It also superality; however, it introduces performancä probËrns ports non-real'time traffic more effectively. because CM traffic contends for hardware iesources tcpÚ, ¿isçìrn"ärtilitrt orher traffic. luurççÙ The Client Interface to CMFS Hardware speedup alone cannot solve these performance problems. It is necessary to schedule resoruces or limit workload (or both) in a way that reflects the performance requirementé of CM traffic. For example, applications might vary data rates (e.g., reducing video resolution or frame rate) in response to changing load conditions. Alternatively, thé system might allow applications to ,,reserveii resource capacity; resources must then be scheduled accordingly. The ability to reserve capacity is especially important for file systems, since in general ttre ¿atâ rate of stored CM data is fixed. CMFS (Continuous Media File Sysrem) is an experimental disk storage system for integrated CM, CMFS has the following properties: o Clients of CMFS can resewe capacity in the form of sesslons, each of whictr seqúentially reads from or writes to a file with 'a. guaranteed ata rate. o Multiple sessions, perhaps with different data rates, can exist concunently, sharing a single disk drive. What exactly is meant by ,,guæanteed data rate"? It is neither feasible nor desirable that CMFS should deliver data at a completely uniform rare, one byte every X seconds. Ideally, the semantics of a CMFS session should accommodate variable-rate files, work-ahead, and client pause/resume. We have developed a semantics that handles these cases in a simple and uniform way. Our semantics also prov.ides--g.duality between reading and writing, ihus simplifying CMFS. To precisely describe the semantics of a CMFS session, we need a model for how CMFS interacts with its clients. Our model is as follows. Each session has a main-memory FIFO buffer for data transfer between CMFS and the client. For a read session, CMFS appends data to the FIFO and the client removes data (blocking when the FIFO is g,qrpty). For a write session, the client appends data (blocking when the FIFO is full) and CMFS removes it. Performance guarantees are defined entirely in terms of data insertion in, and removal from, the FIFO. ¡ Non-real-time traffic is handled concunently. Further details are intentionally left unspecified, Thus CMFS can be used as a general-purpoie since the model can be realized -in varioui ways. file system that handles CM dai-a as *eì1. ' For example, a CM-capable frle system may run in To provide these capabilities, CMFS addresses lE 9l kernel -or in. a protected user-modè vi¡tual several intenelated esign'isuæ,ãirt r,uvo*,;¡ñ:19jt:Ì^:p..".(see Figure 1)' I!-may communicate sion control (acceptance or rejection ói-;; with clients via traps (system calls) or via RPC; the Summer '92 USENIX June 8-June lZ, tggz San Antonio. TX 157 The Continuous Media File System FIFO may be a memory-mapped stream [6] or a kernel data structure accessed by read ( ) system calls. Figure 1: A CM-capable file system can run at the user level, communicating with its clients over network connections (a). Alternatively, it can be implemented in an OS kernel, with client data access by a shared-memory FIFO (b). The CMFS prototype is implemented as a user-level UNIX process (Figure 1a), and clients communicate data via flow-controlled network connections. Data is removed from the FIFO of a read session whenever the corresponding network connection is ready to accept data. The Semantics of a Session The semantics of a CMFS session æe defined in terms of a "logical clock" C(t), the "ggt point" G(t) (the start of the FIFO data) and the "put point" P(r) (he end of the FIFO data). These are byte indices into the file; C G) is zero when the session starts (f =0). Each session has two parameters: À (its data rate) and f (its "cushion"). Figure 2a depicts the semantics of a read session: o The logical clock advances at rate R whenever it is less than the get point. Anderson, Osawa, ... o The logical clock stops whenever it equals the get point. ¡ The put point is always at least 7 ahead of the logical clock. These rules imply that if the client removes one byte of data every l/R seconds, it will never block; in other words, the client is guaranteed a data rate of R bytes/second. However, the flow of data need not be smooth or periodic. CMFS promises to stay ahead of the logical clock by a given positive amount (the cushion 1), and the client's behavior determines how the clock advances. These semantics allow CMFS to handle variable-rate files and other non-uniform access in a simple way. CMFS is guided by client behavior; no explicit rate-control calls are needed, and CMFS need not know about

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Video Streaming File Server Framework for Digital Video Broadcasting Environments

SUMMARY This letter presents the design and implementation of a video streaming file server system, which has been implemented in the context of a distributed digital multimedia broadcasting environment that has been prototyped. To make a performance analysis of file systems and distributed object services for continuous media (CM) provisioning, we validate the performance of the system against...

متن کامل

The Case for Reexamining Integrated File System Design

Research in integrated file systems—file systems that support different types of data and applications with diverse performance requirements—has stagnated since the commercial failure of video-on-demand systems in the 1990s. However, the past two years have seen an acceleration in the development and deployment of several new technologies aimed at web-based multimedia applications. These techno...

متن کامل

High capacity steganography tool for Arabic text using 'Kashida'

Steganography is the ability to hide secret information in a cover-media such as sound, pictures and text. A new approach is proposed to hide a secret into Arabic text cover media using "Kashida", an Arabic extension character. The proposed approach is an attempt to maximize the use of "Kashida" to hide more information in Arabic text cover-media. To approach this, some algorithms have been des...

متن کامل

Performance evaluation for VBR Continuous Media File Server admission control

A file server for continuous media must provide resource guarantees and only admit requests that do not violate the resource availability. This paper addresses the admission performance of a server that explicitly considers the variable bit rate nature of the continuous media streams. A prototype version of the server has been implemented and evaluated in several heterogeneous environments. The...

متن کامل

Network Bandwidth Allocation and Admission Control for a Continuous Media File Server

Resource reservation is required to guarantee delivery of continuous media data from a server across a network for continuous playback by a client. This paper addresses the characterization of the network bandwidth requirements of Variable Bit Rate data streams and the corresponding admission control mechanism at the server. We show that a characterization which sends data early, making intelli...

متن کامل

Ex Vivo Comparison of File Fracture and File Deformation in Canals with Moderate Curvature: Neolix Rotary System versus Manual K-files

Background and Aim: Cleaning and shaping is one of the important steps in endodontic treatment, which has an important role in root canal treatment outcome. This study evaluated the rate of file fracture and file deformation in Neolix rotary system and K-files in shaping of the mesiobuccal canal of maxillary first molars with moderate curvature.    Materials and Methods: In this ex vivo exp...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1992